package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Voice;

public interface VoiceApi {

    //查询今日发送了多少数据
    Long seelctCount(Long userId, String format);

    //表内添加数据
    Boolean save(Voice voice);

    //随机查询一个userid不为userid1的数据
    Voice selectRandom(Long userId1);
}
